package com.example.mpdata.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mpdata.po.Person;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Entity com.example.mpdata.po.Person
 */
@Mapper
@DS("db2")
public interface PersonMapper extends BaseMapper<Person> {
    /**
     *
     * @mbg.generated 2021-02-04 13:00:37
     */
    int deleteByPrimaryKey(Long id);



    /**
     *
     * @mbg.generated 2021-02-04 13:00:37
     */
    int insertSelective(Person record);

    /**
     *
     * @mbg.generated 2021-02-04 13:00:37
     */
    Person selectByPrimaryKey(Long id);

    /**
     *
     * @mbg.generated 2021-02-04 13:00:37
     */
    int updateByPrimaryKeySelective(Person record);

    /**
     *
     * @mbg.generated 2021-02-04 13:00:37
     */
    int updateByPrimaryKey(Person record);
}